projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ad4275
)
spin entry should be a child of spin context
author
Caolán McNamara
<caolanm@redhat.com>
Thu, 17 Nov 2016 10:04:29 +0000
(10:04 +0000)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 17 Nov 2016 10:55:20 +0000
(
05:55
-0500)
https://bugzilla.gnome.org/show_bug.cgi?id=774609
demos/gtk-demo/foreigndrawing.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/foreigndrawing.c
b/demos/gtk-demo/foreigndrawing.c
index 11b8b44068b2c8880dd13e875d76e8933de5c360..005eb19db80c75f1920b979468526da5dbe13474 100644
(file)
--- a/
demos/gtk-demo/foreigndrawing.c
+++ b/
demos/gtk-demo/foreigndrawing.c
@@
-836,7
+836,7
@@
draw_spinbutton (GtkWidget *widget,
/* This information is taken from the GtkSpinButton docs, see "CSS nodes" */
spin_context = get_style (NULL, "spinbutton.horizontal:focus");
- entry_context = get_style (
NULL
, "entry:focus");
+ entry_context = get_style (
spin_context
, "entry:focus");
up_context = get_style (spin_context, "button.up:focus:active");
down_context = get_style (spin_context, "button.down:focus");